package com.hopital5.zhangyz.vo.response;

import com.hopital5.zhangyz.model.Model;

import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class ModelVoResponse {
    private Long id;

    public static ModelVoResponse build(Model model) {
        ModelVoResponse modelVoResponse = ModelVoResponse.builder()
                .id(model.getId())
                .build();
        return modelVoResponse;
    }

}
